package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 亩产数据对象 bus_yjhz_muchan
 * 
 * @author ruoyi
 * @date 2023-08-01
 */
public class BusYjhzMuchan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 年份 */
    @Excel(name = "年份")
    private Long year;

    /** 高粱 */
    @Excel(name = "高粱")
    private Long gaoliang;

    /** 谷子 */
    @Excel(name = "谷子")
    private Long guzi;

    /** 马铃薯 */
    @Excel(name = "马铃薯")
    private Long malingsu;

    /** 旱稻 */
    @Excel(name = "旱稻")
    private Long handao;

    /** 玉米 */
    @Excel(name = "玉米")
    private Long yumi;

    /** 大豆 */
    @Excel(name = "大豆")
    private Long dadou;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }
    public void setGaoliang(Long gaoliang) 
    {
        this.gaoliang = gaoliang;
    }

    public Long getGaoliang() 
    {
        return gaoliang;
    }
    public void setGuzi(Long guzi) 
    {
        this.guzi = guzi;
    }

    public Long getGuzi() 
    {
        return guzi;
    }
    public void setMalingsu(Long malingsu) 
    {
        this.malingsu = malingsu;
    }

    public Long getMalingsu() 
    {
        return malingsu;
    }
    public void setHandao(Long handao) 
    {
        this.handao = handao;
    }

    public Long getHandao() 
    {
        return handao;
    }
    public void setYumi(Long yumi) 
    {
        this.yumi = yumi;
    }

    public Long getYumi() 
    {
        return yumi;
    }
    public void setDadou(Long dadou) 
    {
        this.dadou = dadou;
    }

    public Long getDadou() 
    {
        return dadou;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("gaoliang", getGaoliang())
            .append("guzi", getGuzi())
            .append("malingsu", getMalingsu())
            .append("handao", getHandao())
            .append("yumi", getYumi())
            .append("dadou", getDadou())
            .toString();
    }
}
